package dict

type RptTimeUnit struct {
	Name  string
	Value string
}

var (
	Daily = RptTimeUnit{
		Name:  "Daily",
		Value: "DAILY",
	}
	Summary = RptTimeUnit{
		Name:  "Summary",
		Value: "SUMMARY",
	}
)

var RptTimeUnitList map[string]RptTimeUnit

func init() {
	RptTimeUnitList = make(map[string]RptTimeUnit)
	RptTimeUnitList[Daily.Name] = Daily
	RptTimeUnitList[Summary.Name] = Summary
}
